<template>
    <view class="content">
        <image src="../../static/image/s_logo.png" class="s-logo"></image>
        <view class="top">
            <image src="/static/icon/avatar.png" class="avatar"></image>
            <view>李先生</view>
        </view>
        
        <view class="title">身份信息认证</view>
        <view class="box">
            <view class="item">
                <view>婚姻状况</view>
                <view class="item-r">已婚</view>
            </view>
            <view class="item">
                <view>学历</view>
                <view class="item-r">本科</view>
            </view>
            <view class="item">
                <view>家庭人口数</view>
                <view class="item-r">3人</view>
            </view>
            <view class="item">
                <view>宗教信仰</view>
                <view class="item-r">无</view>
            </view>
            <view class="item">
                <view>政治面貌</view>
                <view class="item-r">群众</view>
            </view>
        </view>
        
        <view class="title">证件信息</view>
        <view class="box u-p-t-15 u-p-b-15">
            <view class="sub">身份证</view>
            <view class="img-box">
                <image src="../../../static/del/22.png" class="img" v-for="(item, index) in 2" :key="index"></image>
            </view>
            
            <view class="sub">技能证</view>
            <view class="img-box">
                <image src="../../../static/del/24.png" class="img" v-for="(item, index) in 3" :key="index"></image>
            </view>
        </view>
        
        <view class="title">擅长</view>
        <view class="box">
            <view class="text">
                擅长，汉语词语。擅长，汉语词语。擅长，汉语词语。擅长，汉语词语。擅长，汉语词语。擅长，汉语词语。
            </view>
        </view>
        
        <view class="title">家庭成员信息</view>
        <view class="box">
            <view class="item">
                <view>父亲</view>
                <view class="item-r">李先生</view>
            </view>
            <view class="item">
                <view>母亲</view>
                <view class="item-r">王女士</view>
            </view>
            <view class="item">
                <view>家庭住址</view>
                <view class="item-r">吉林省高新区硅谷大街1234号</view>
            </view>
            <view class="item">
                <view>联系电话</view>
                <view class="item-r">13000000001</view>
            </view>
        </view>
        
        <view class="title">个人照片</view>
        <view class="box u-p-t-15 u-p-b-15">
            <view class="sub">工作</view>
            <view class="img-box">
                <image src="../../../static/del/43.png" class="img"></image>
            </view>
            
            <view class="sub">生活</view>
            <view class="img-box">
                <image src="../../../static/del/44.png" class="img"></image>
            </view>
            
            <view class="sub">技能</view>
            <view class="img-box">
                <image src="../../../static/del/45.png" class="img"></image>
            </view>
        </view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            
        }
    };
</script>

<style lang="scss">
    
    
    
    
    page{
        background-color: #f5f5f5;
    }
    .content{
        padding: 45rpx 25rpx;
    }
    .s-logo{
        width: 417rpx;
        height: 168rpx;
        position: absolute;
        top: 35rpx;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
    }
    .top{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 45rpx 0;
        font-size: 32rpx;
        font-weight: bold;
    }
    .avatar{
        width: 127rpx;
        height: 127rpx;
        border: 2rpx solid #fff;
        border-radius: 50%;
        margin-bottom: 15rpx;
        box-shadow: 2px 2px 5px #eaedf4;
    }
    
    .title{
        font-size: 32rpx;
        font-weight: bold;
        padding-bottom: 20rpx;
    }
    .box{
        padding: 0 30rpx;
        background-color: #fff;
        border-radius: 15rpx;
        margin-bottom: 40rpx;
    }
    .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2rpx solid #e6e6e6;
        padding: 35rpx 0;
    }
    .item:last-child{
        border-bottom: none;
    }
    .item-r{
        flex: 1;
        text-align: right;
        padding-left: 15rpx;
    }
    
    .sub{
        font-size: 28rpx;
        color: #404040;
        padding-top: 15rpx;
        padding-bottom: 18rpx;
    }
    .img-box{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }
    .img{
        width: 311rpx;
        height: 190rpx;
        border-radius: 10rpx;
        margin-right: 15rpx;
        margin-bottom: 15rpx;
    }
    .img:nth-child(2n){
        margin-right: 0;
    }
    
    .text{
        padding: 30rpx 0;
        white-space: pre-line;
        word-break: break-all;
    }
    

</style>
